package org.hxzon.tapestry5.components;

import org.apache.tapestry5.BindingConstants;
import org.apache.tapestry5.annotations.Component;
import org.apache.tapestry5.annotations.Parameter;
import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.annotations.SupportsInformalParameters;

@SupportsInformalParameters
public class CustomTextArea {
    @Parameter(defaultPrefix = BindingConstants.LITERAL)
    @Property
    private String clientId;

    @Parameter(defaultPrefix = BindingConstants.LITERAL)
    @Property
    private String notice;

    @Component(parameters = { "clientId=inherit:clientId" },//
    publishParameters = "clientId,label,value,validate")
    private TextAreaEx textArea;

}
